

using System;
using System.Data;
using System.IO;
using System.Linq;
using System.Linq.Dynamic;
using System.Linq.Expressions;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Abp.Linq;
using Abp.Linq.Extensions;
using Abp.Extensions;
using Abp.UI;
using Abp.Domain.Repositories;
using Abp.Domain.Services;

using Yozeev;
using Yozeev.SystemConfig.BasicConfig;


namespace Yozeev.SystemConfig.BasicConfig.DomainService
{
    /// <summary>
    /// Branch领域层的业务管理
    ///</summary>
    public class BranchManager :YozeevDomainServiceBase, IBranchManager
    {
		
		private readonly IRepository<Branch,Guid> _repository;

		/// <summary>
		/// Branch的构造方法
		///</summary>
		public BranchManager(
			IRepository<Branch, Guid> repository
		)
		{
			_repository =  repository;
		}


		/// <summary>
		/// 初始化
		///</summary>
		public void InitBranch()
		{
			throw new NotImplementedException();
		}

		// TODO:编写领域业务代码

		public Branch GetBranchFirst()
		{
			return _repository.GetAll().FirstOrDefault();
		}

		 
		  
		 

	}
}
